#define _CRT_SECURE_NO_WARNINGS 1
#include<bitset>
#include"BitSet.h"

int main()
{
	bitset<10> b1;
	bitset<10> b2(0x45f);
	string str = "110101";
	bitset<10> b3(str,1,4);

	cout << "b1:" << b1 << endl;
	cout << "b2:" << b2 << endl;
	cout << "b3:" << b3 << endl;

	BitSet::bitset<10> b4;
	BitSet::bitset<10> b5(0x45f);
	BitSet::bitset<10> b6(str, 1, 4);
	cout << "b4:";
	b4.Print();
	cout << endl;
	cout << "b5:";
	b5.Print();
	cout << endl;
	cout << "b6:";
	b6.Print();
	cout << endl;

	BitSet::test_bitset();


	return 0;
}
